package cn.regexp.demo.ui;

import cn.regexp.demo.util.UniversityDataUtils;
import com.intellij.openapi.ui.SimpleToolWindowPanel;

/**
 * @author Regexpei
 * @date 2024/6/23 16:18
 * @description 大学工具窗口
 */
public class UniversityToolWindow extends SimpleToolWindowPanel {

    public UniversityToolWindow() {
        super(false, false);
        UniversityListPanel universityListPanel = new UniversityListPanel();

        universityListPanel.setUniversities(UniversityDataUtils.getNextPage());
        setContent(universityListPanel);
    }
}
